#include <d3dx9.h>
#include <strsafe.h>

class GameObject
{
public:
	GameObject();
	GameObject(LPDIRECT3DDEVICE9 pD3DDevice, char* fileName, D3DXVECTOR3 newPosition, D3DXVECTOR3 newRotation, D3DXVECTOR3 newScale);
	virtual ~GameObject(void);

	void Render();

private:

LPDIRECT3DDEVICE9 g_pd3dDevice;

LPD3DXMESH          g_pMesh; // Our mesh object in sysmem
D3DMATERIAL9*       g_pMeshMaterials; // Materials for our mesh
LPDIRECT3DTEXTURE9* g_pMeshTextures; // Textures for our mesh
DWORD               g_dwNumMaterials;   // Number of mesh materials
D3DXVECTOR3			position;
D3DXVECTOR3			rotation;
D3DXVECTOR3			scale;

};